package shooter.network;

/**
 * Represents a connect message. Is sent if a player connects to the host.
 * 
 * @author Michail Tausch
 */
public class connectMessage extends Message{
	
	public String name="";
	public static final String accept = "accept";
	public static final String deny = "deny";
	public static final String gameStarted = "started";
	
	/**
	 * The constructor.
	 * @param name
	 */
	public connectMessage(String name){
		this.name=name;
	}
	
	/**
	 * Returns the name of the player.
	 * @return
	 */
	public String getName() {
		return name;
	}	
}
